interface RoleIlk  {
    role: number,
    roleName: string
}
export interface userListIlk {
    id: number,
    nickName: string,
    userName: string,
    role: RoleIlk[] 
}
interface selectDataIlk {
    role: number,
    nickName: string,
}
interface roleListIlk {
    authority:number[],
    roleId: number,
    roleName: string,
}
interface activeIlk {
    id: number,
    nickName: string,
    userName: string,
    role: number[] 
}   
export class InitData {
   selectData: selectDataIlk = {
    role: 0,
    nickName: ""
   };
   /** 用于接收用户信息的列表 */
   list:userListIlk[] = [];
   /** 接收角色信息列表 */
   roleList: roleListIlk[] = [];
   isShow = false;
   /** 当前选中的对象 */
   active:activeIlk =  {
    id: 0,
    nickName: "",
    userName: "",
    role: [] 
   }
}